Skip to content

quick fix for failing travis builds #373

Closed
7yl4r wants to merge 6 commits into
voxpupuli:masterfrom
USF-IMARS:build-fix
Closed

quick fix for failing travis builds #373
7yl4r wants to merge 6 commits into
voxpupuli:masterfrom
USF-IMARS:build-fix

Conversation

@7yl4r
Copy link
Copy Markdown

@7yl4r 7yl4r commented May 10, 2017

This does two things:

  1. pegs puppetlabs_spec_helper gem to v1.2.2 b/c this module is not compatible w/ 2..
  2. fixes arrow warnings thrown by newer puppet-lint gem.

Although the better fix re (1) might be to switch over to using the newer spec_helper, at least this will allow tests to pass in the meantime.

Closes #372 .

Comment thread .travis.yml
- PUPPET_GEM_VERSION="~> 4.6.0"
- PUPPET_GEM_VERSION="~> 4.7.0"
- PUPPET_GEM_VERSION="~> 4.8.0"
- PUPPET_GEM_VERSION="~> 4"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we want to keep this so that we always test against the newest version

Comment thread .travis.yml
- PUPPET_GEM_VERSION="~> 4.7.0"
- PUPPET_GEM_VERSION="~> 4.8.0"
- PUPPET_GEM_VERSION="~> 4"
- PUPPET_GEM_VERSION="~> 4.9.0"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding 4.9 and 4.10

Comment thread Gemfile Outdated
end

gem 'puppetlabs_spec_helper', '>= 1.2.0', :require => false
gem 'puppetlabs_spec_helper', '>= 1.2.0', '<= 1.2.2', :require => false
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gem 'puppetlabs_spec_helper', '2.0.2',    :require => false if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
gem 'puppetlabs_spec_helper', '>= 2.0.0', :require => false if RUBY_VERSION >= '1.9'

Comment thread manifests/init.pp
anchor { 'python::end': }
anchor { 'python::begin': }
-> class { 'python::install': }
-> class { 'python::config': }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@7yl4r
Copy link
Copy Markdown
Author

7yl4r commented May 10, 2017

Thanks for the help; it should pass for real this time. 👍

@flokli
Copy link
Copy Markdown

flokli commented Jun 27, 2017

@7yl4r seems like PUPPET_GEM_VERSION 4.9.0 and later complain about ruby < 2.1. If these are stripped from the test matrix, travis should pass again.

@7yl4r
Copy link
Copy Markdown
Author

7yl4r commented Jun 27, 2017

You're exactly right, @flokli . It should be an easy fix I plan to come back around to this project and resolve soon.

@flokli
Copy link
Copy Markdown

flokli commented Jul 5, 2017

@7yl4r If you currently don't have the time, I could take a look at this. Just let me know :-)

@ghoneycutt
Copy link
Copy Markdown
Member

Thanks everyone!

Similar functionality added in PR #376

@ghoneycutt ghoneycutt closed this Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

travis build failures since december?

3 participants